use :: libc;
#[no_mangle]
pub extern "C" fn int_equal(
    mut vlocation1: *mut libc::c_void,
    mut vlocation2: *mut libc::c_void,
) -> i32 {
    let mut location1: *mut i32 = 0 as *mut i32;
    let mut location2: *mut i32 = 0 as *mut i32;
    location1 = vlocation1 as *mut i32;
    location2 = vlocation2 as *mut i32;
    return ((unsafe { *location1 }) == (unsafe { *location2 })) as i32;
}
#[no_mangle]
pub extern "C" fn int_compare(
    mut vlocation1: *mut libc::c_void,
    mut vlocation2: *mut libc::c_void,
) -> i32 {
    let mut location1: *mut i32 = 0 as *mut i32;
    let mut location2: *mut i32 = 0 as *mut i32;
    location1 = vlocation1 as *mut i32;
    location2 = vlocation2 as *mut i32;
    if (unsafe { *location1 }) < (unsafe { *location2 }) {
        return -(1 as i32);
    } else if (unsafe { *location1 }) > (unsafe { *location2 }) {
        return 1 as i32;
    } else {
        return 0 as i32;
    };
}
